//
//  EJSOrderOperationTableViewCell.h
//  EnjoyShoppingStreet
//
//  Created by lifayu on 2018/1/3.
//  Copyright © 2018年 lifayu. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "EJSOrderModel.h"

@protocol EJSOrderOperationTableViewCellDelegate<NSObject>

- (void)payFoyOrder:(EJSOrderModel *)order;//立即付款
- (void)cancelOrder:(EJSOrderModel *)order;//取消订单
- (void)receivedOrder:(EJSOrderModel *)order;//确认收货
- (void)checkLogisticsOrder:(EJSOrderModel *)order;//查看物流
- (void)commentOrder:(EJSOrderModel *)order;//评价

@end

@interface EJSOrderOperationTableViewCell : UITableViewCell

@property (weak, nonatomic) IBOutlet UILabel *goodsCountLabel;
@property (weak, nonatomic) IBOutlet UILabel *orderPriceLabel;
@property (weak, nonatomic) IBOutlet UIButton *rightButton;
@property (weak, nonatomic) IBOutlet UIButton *leftButton;

@property (weak, nonatomic) id<EJSOrderOperationTableViewCellDelegate> delegate;

- (void)setOderModel:(EJSOrderModel *)orderModel;

@end
